package com.erp.erp_dao.CustomerComplaint;

import com.erp.erp_entitys.CustomerComplaint.*;

import java.util.List;

public interface ICustomerComplaintDAO {
    int deleteByPrimaryKey(Integer id);

    int insert(CustomerComplaintEntity record);

    int insertSelective(CustomerComplaintEntity record);

    CustomerComplaintEntity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CustomerComplaintEntity record);

    int updateByPrimaryKey(CustomerComplaintEntity record);

    CustomerComplaintProductEntity selectProduct(Integer id);

    CustomerComplaintFileEntity selectFile(Integer id);

    CustomerComplaintEntity selectInfoById(Integer id);

    List<CustomerComplaintEntity> selectCustomerComplainList(CustomerComplaintVo ccVo);

    int updateBoxStatusBykey(CustomerComplaintVo ccVo);

    List<CustomerComplaintEntity> isExist(String oddNumber);

    int getCountNum();

    List<CustomerComplaintAndProduct> selectCustomerComplainAndProductList(CustomerComplaintVo ccVo);
}